projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ec6c34
)
One more change by Ken Brown to avoid breaking Cygwin.
author
Eli Zaretskii
<eliz@gnu.org>
Wed, 11 Dec 2013 17:17:49 +0000
(19:17 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 11 Dec 2013 17:17:49 +0000
(19:17 +0200)
src/w32fns.c
patch
|
blob
|
history
diff --git
a/src/w32fns.c
b/src/w32fns.c
index 99a2c4bdaf2d4b7867342b6c5ea84daa2a7db0c5..e5d899d8a15aab25f49498a7db94f7f5accc4430 100644
(file)
--- a/
src/w32fns.c
+++ b/
src/w32fns.c
@@
-6668,7
+6668,10
@@
Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */)
/* Strip the dummy filename off the end of the string if we
added it to select a directory. */
if (use_unicode && file_details_w->nFilterIndex == 2
- || !use_unicode && file_details_a->nFilterIndex == 2)
+#ifndef NTGUI_UNICODE
+ || !use_unicode && file_details_a->nFilterIndex == 2
+#endif
+ )
filename = Ffile_name_directory (filename);
}
/* User canceled the dialog without making a selection. */